package pojo;

public class Book {
    //id
    private String bookId;
    //书名
    private String bookName;
    //作者
    private String writer;
    //页数
    private String page;
    //价格
    private String price;
    //出版社
    private String press;
    //类别
    private String classification;
    //总数
    private String total;
    //借出
    private String lend;
    //剩余
    private String surplus;

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public void setLend(String lend) {
        this.lend = lend;
    }

    public void setSurplus(String surplus) {
        this.surplus = surplus;
    }

    public String getBookId() {
        return bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public String getWriter() {
        return writer;
    }

    public String getPage() {
        return page;
    }

    public String getPrice() {
        return price;
    }

    public String getPress() {
        return press;
    }

    public String getClassification() {
        return classification;
    }

    public String getTotal() {
        return total;
    }

    public String getLend() {
        return lend;
    }

    public String getSurplus() {
        return surplus;
    }

    public Book() {
    }

    public Book(String bookId, String bookName, String writer, String page, String price, String press, String classification, String total, String lend, String surplus) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.writer = writer;
        this.page = page;
        this.price = price;
        this.press = press;
        this.classification = classification;
        this.total = total;
        this.lend = lend;
        this.surplus = surplus;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId='" + bookId + '\'' +
                ", bookName='" + bookName + '\'' +
                ", writer='" + writer + '\'' +
                ", page='" + page + '\'' +
                ", price='" + price + '\'' +
                ", press='" + press + '\'' +
                ", classification='" + classification + '\'' +
                ", total='" + total + '\'' +
                ", lend='" + lend + '\'' +
                ", surplus='" + surplus + '\'' +
                '}';
    }
}